﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LastfmNet
{
    internal static class BoolExtensions
    {
        public static int ToInteger(this bool b)
        {
            if (b)
            {
                return 1;
            }
            else
            {
                return 0;
            }
        }
    }
}
